]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
loginManager: Update RegisterSession
authorJoan Torres Lopez <joantolo@redhat.com>
Tue, 3 Feb 2026 13:39:25 +0000 (14:39 +0100)
committerMarge Bot <marge-bot@gnome.org>
Wed, 4 Feb 2026 22:32:10 +0000 (22:32 +0000)
RegisterSession no longer accepts parameters, pass null instead of
an empty dict.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/4057>

js/misc/loginManager.js

index a93e0cb5d53b62f3219cfa74c036c0beb7003207..5b38257484a61b19b5e778b4b869d44f1d9bf526 100644 (file)
@@ -61,7 +61,7 @@ export async function registerSessionWithGDM() {
             '/org/gnome/DisplayManager/Manager',
             'org.gnome.DisplayManager.Manager',
             'RegisterSession',
-            GLib.Variant.new('(a{sv})', [{}]), null,
+            null, null,
             Gio.DBusCallFlags.NONE, -1, null);
     } catch (e) {
         if (!e.matches(Gio.DBusError, Gio.DBusError.UNKNOWN_METHOD))